package com.drinks.yiniang.entity.comment;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 商品评论
 * @author han
 * @date 2019/11/12
 */
public class GoodsCommentJson extends BaseJson {

    private GoodsCommentData data;

    public GoodsCommentData getData() {
        return data;
    }

    public void setData(GoodsCommentData data) {
        this.data = data;
    }

    public static class GoodsCommentData {
        private List<GoodsCommentList> data;

        public List<GoodsCommentList> getData() {
            return data;
        }

        public void setData(List<GoodsCommentList> data) {
            this.data = data;
        }
    }

    public static class GoodsCommentList {
        private String id;
        //评论人id
        private String fans_id;
        private String goods_id;
        private String nickname;
        private String avatar;
        private String content;
        private String score;
        private String like_count;
        //专家评分雷达图 不是专家时为空
        private String radar_map_url;
        private String created_at;
        //是否点赞过 登录用户 1是
        private String is_like;
        private List<GoodsCommentImg> images;
        //雷达图评分数据
        private List<GoodsCommentRadar> radar;
        //专家领域
        private List<String> skill;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getLike_count() {
            return like_count;
        }

        public void setLike_count(String like_count) {
            this.like_count = like_count;
        }

        public String getRadar_map_url() {
            return radar_map_url;
        }

        public void setRadar_map_url(String radar_map_url) {
            this.radar_map_url = radar_map_url;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getIs_like() {
            return is_like;
        }

        public void setIs_like(String is_like) {
            this.is_like = is_like;
        }

        public List<GoodsCommentImg> getImages() {
            return images;
        }

        public void setImages(List<GoodsCommentImg> images) {
            this.images = images;
        }

        public List<GoodsCommentRadar> getRadar() {
            return radar;
        }

        public void setRadar(List<GoodsCommentRadar> radar) {
            this.radar = radar;
        }

        public List<String> getSkill() {
            return skill;
        }

        public void setSkill(List<String> skill) {
            this.skill = skill;
        }
    }

    public static class GoodsCommentImg {
        private String original;

        public String getOriginal() {
            return original;
        }

        public void setOriginal(String original) {
            this.original = original;
        }
    }

    public static class GoodsCommentRadar {
        private String comment_id;
        private String name;
        private String value;

        public String getComment_id() {
            return comment_id;
        }

        public void setComment_id(String comment_id) {
            this.comment_id = comment_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
